package com.zhq.blog.core.domain.game.support;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Transient;

import com.zhq.blog.core.domain.BasePersistentDomain;
import com.zhq.blog.core.domain.game.Game;
import com.zhq.blog.core.domain.user.User;

/**
 * @title:CathecticModel.java
 * @package com.zhq.blog.core.domain.game.support
 * @author 张恒强
 * @date 2014年12月26日 下午2:30:49
 * @version V1.0
 * 
 * 投注模式
 */
@Entity
public class CathecticModel extends BasePersistentDomain<CathecticModelRepository>{
	
	private long userId;
	
	private String name;
	
	private long totalBetMoney;
	
	private long gameId;
	
	@Transient
	private User user;
	
	@Transient
	private Game game;
	
	@Transient
	private List<CathecticModelDetail> details;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getTotalBetMoney() {
		return totalBetMoney;
	}

	public void setTotalBetMoney(long totalBetMoney) {
		this.totalBetMoney = totalBetMoney;
	}

	public long getGameId() {
		return gameId;
	}

	public void setGameId(long gameId) {
		this.gameId = gameId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Game getGame() {
		return game;
	}

	public void setGame(Game game) {
		this.game = game;
	}

	public List<CathecticModelDetail> getDetails() {
		return details;
	}

	public void setDetails(List<CathecticModelDetail> details) {
		this.details = details;
	}

}
